package com.novel.entiy.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author tanghao
 * @date 2022/4/22
 */
@Data
public class StatisticsVO {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("小说id")
    private Long novelId;

    @ApiModelProperty("小说标题")
    private String novelTitle;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("小说作者id")
    private Long authorId;

    @ApiModelProperty("小说作者名称")
    private String authorName;

    @ApiModelProperty("阅读数")
    private Long readNums;

    @ApiModelProperty("评论数")
    private Long commentNums;

    @ApiModelProperty("订阅数")
    private Long subscribeNum;

    @ApiModelProperty("更新字数")
    private Long updateWordNums;

    @ApiModelProperty("更新章数")
    private Long updateChapterNums;
}
